import 'package:json_annotation/json_annotation.dart';

part 'superior.g.dart';

@JsonSerializable()
class SuperiorModel {
  String name;

  String logoUrl;

  SuperiorModel({required this.name, required this.logoUrl});

  factory SuperiorModel.fromJson(Map<String, dynamic> json) => _$SuperiorModelFromJson(json);

  Map<String, dynamic> toJson() => _$SuperiorModelToJson(this);

  @override
  String toString() {
    return toJson().toString();
  }
}
